<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
    
    <form action="http://localhost:8080/doAdd" method="post" role="form" enctype="multipart/form-data">
        <legend>添加数据</legend>
        <div class="form-group">
            <label for="">电影名</label>
            <input type="text" name="title" class="form-control" id="" placeholder="电影名">
        </div>
        <div class="form-group">
            <label for="">上传图片</label>
            <input type="file" name="file">
        </div>
        <div class="form-group">
            <label for="">slogo</label>
            <input type="text" name="slogo" class="form-control" id="" placeholder="slogo">
        </div>
        <div class="form-group">
            <label for="">点评人数</label>
            <input type="text" name="evaluate" class="form-control" id="" placeholder="点评人数">
        </div>
        <div class="form-group">
            <label for="">评分</label>
            <input type="text" name="rating" class="form-control" id="" placeholder="评分">
        </div>
        <div class="form-group">
            <label for="">是否收藏</label>
            <input type="checkbox" name="friend">
        </div>
        <div class="form-group">
            <label for="">为电影选择标签</label>
            <input type="checkbox" name="label" value="美国">
            <input type="checkbox" name="label" value="奇幻">
            <input type="checkbox" name="label" value="灾难">
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>
    
</body>

</html>